﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Abreu.Profile.ObjectClasses
{
    public class ApplicationPropertyInfo
    {
        #region Class Members
        private int _applicationPropertyId;
        private int _applicationId;
        private int _propertyId;
        private String _languageId;
        private String _name;
        private String _value;
        private String _notes;
        private DateTime? _beginDate;
        private DateTime? _endDate;
        private Char _status;
        #endregion 

        #region Properties
        public int ApplicationPropertyId
        {
            get { return _applicationPropertyId; }
            set { _applicationPropertyId = value; }
        }

        public int ApplicationId
        {
            get { return _applicationId; }
            set { _applicationId = value; }
        }

        public int PropertyId
        {
            get { return _propertyId; }
            set { _propertyId = value; }
        }

        public String LanguageId
        {
            get { return _languageId; }
            set { _languageId = value; }
        }

        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public String Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public String Notes
        {
            get { return _notes; }
            set { _notes = value; }
        }

        public DateTime? BeginDate
        {
            get { return _beginDate; }
            set { _beginDate = value; }
        }

        public DateTime? EndDate
        {
            get { return _endDate; }
            set { _endDate = value; }
        }

        public Char Status
        {
            get { return _status; }
            set { _status = value; }
        }
        #endregion

        #region Constructor
        public ApplicationPropertyInfo(int applicationPropertyId, int applicationId, int propertyId, String languageId, String name, String value,
                               String notes, DateTime? beginDate, DateTime? endDate, Char status)
        {
            ApplicationPropertyId = applicationPropertyId;
            ApplicationId = applicationId;
            PropertyId = propertyId;
            LanguageId = languageId;
            Name = name;
            Value = value;
            Notes = notes;
            BeginDate = beginDate;
            EndDate = endDate;
            Status = status;
        } 
	    #endregion
    }
}
